package cc.dullsky.common;

public class Constant {
	/**
	 * 文章列表每页的条数
	 */
	public static final int ARTICLE_PAGE_SIZE = 10;

	/**
	 * 文章归档中月份数字转换汉字
	 */
	public static final String[] MONTH = { "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二" };
	/**
	 * 文章归档sql查询转换使用
	 */
	public static final String[] NUM_MONTH = { "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12" };
	/**
	 * 网易云音乐API-搜索(POST) <br>
	 * 必要参数： <br>
	 * s：搜索的内容 <br>
	 * offset：偏移量（分页用）0 <br>
	 * limit：获取的数量 200<br>
	 * type：搜索的类型 (歌曲1, 专辑10, 歌手100, 歌单1000, 用户1002, mv1004, 歌词1006, 主播电台1009)
	 */
	public static final String NETEASE_SEARCH = "http://music.163.com/api/search/pc";
	/**
	 * 网易云音乐API-歌曲
	 */
	public static final String NETEASE_SONG = "http://music.163.com/api/song/detail/?id=ID&ids=%5BID%5D";
	/**
	 * 网易云音乐API-歌词
	 */
	public static final String NETEASE_LYRIC = "http://music.163.com/api/song/lyric?os=pc&id=ID&lv=-1&kv=-1&tv=-1";
	/**
	 * 网易云音乐API-歌单
	 */
	public static final String NETEASE_PLAYLIST = "http://music.163.com/api/playlist/detail?id=ID&updateTime=-1";
	/**
	 * 网易云音乐API-专辑
	 */
	public static final String NETEASE_ALBUM = "http://music.163.com/api/album/ID?ext=true&id=ID&offset=0&total=true&limit=100";
	/**
	 * 网易云音乐API-MV
	 */
	public static final String NETEASE_MV = "http://music.163.com/api/mv/detail?id=ID&type=mp4";
	/**
	 * 和风天气API-天气(每天3000次)
	 */
	public static final String HEWEATHER_WEATHER = "https://api.heweather.com/x3/weather?key=363a63baf1e5420899e67586c5d7ca0e&city=CITY";
	/**
	 * 和风天气API-天气代码(每天3000次)
	 */
	public static final String HEWEATHER_WEATHER_CODE = "https://api.heweather.com/x3/condition?search=allcond&key=363a63baf1e5420899e67586c5d7ca0e";
	/**
	 * 和风天气API-国内城市ID(每天3000次)<br>
	 * search:国内城市：allchina、 世界热门城市：hotworld、 全世界城市：allworld
	 */
	public static final String HEWEATHER_CITY_CODE = "https://api.heweather.com/x3/citylist?search=allchina&key=363a63baf1e5420899e67586c5d7ca0e";

}
